package com.csun.dsms.model.vo.menu;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
@JsonInclude(value= JsonInclude.Include.NON_NULL)
public class MenuVo {

	/**
	 * menu.id;
	 */
	private Long id;

	/**
	 * 父id
	 */
	private Long pid;

	/**
	 * 菜单编码
	 */
	private String menuCode;

	/**
	 * 菜单名称
	 */
	private String menuName;

	/**
	 * 菜单URL
	 */
	private String url;
	/**
	 * 图标
	 */
	private String icon;

	/**
	 * 序号
	 */
	private String number;

	/**
	 * 备注(研发中心)
	 */
	private String remark;

	/**
	 * 删除标识
	 */
	private Short yn;

	private MenuVo parentMenu;

	private List<MenuVo> subMenu ;

	private Integer check = 0;

	private boolean hasMenu = false;

}